package com.bupt.cad.mapper;

import com.bupt.cad.entity.DataSource;
import com.bupt.cad.entity.DataSourceVo;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface DataSourceDao extends BaseDao<DataSource> {
    int insertDataSource(DataSource dataSource);
    DataSource getDataSourceById(int dataSourceId);
    List<DataSourceVo> getAllDataSourceById(int screenId);
}
